 function  goback(){
		            window.location.href="history(-1)";
	}    
	
	
	   
	function bigCategoryChange(){
	var bigCategoryValue = $("#bigCategory option:selected").val();
	if(bigCategoryValue != ""){
		$('#smallCategory').html('加载中... ...');
		$.get('../category/category_loadCategoryByPid.shtml?id='+bigCategoryValue+'&t='+new Date().getTime().toString(36),function(mes){
			var json = eval('('+mes+')');
			var str = '<select name="tgInformation.categoryId" id="categoryId"  ><option value="-1">请选择</option>';
			for(var i = 0; i < json.length; i++){
				str += '<option value="'+json[i]['id']+'">'+json[i]['name']+'</option>';
			}
			str+='</select>';
			$('#smallCategory').html(str);
		})
	}
}
	
	
 function checkform(){
     var hotflag= $("input[name='tgInformation.hot']:checked").val();
    if(hotflag==1)
    {
       if($('#the1').val() ==""){
         alert("热点资讯：'摘要1'不能为空！");
          return false;
       } if($('#the2').val() ==""){
         alert("热点资讯：'摘要2'不能为空！");
          return false;
       }
    }
 
 
   var categoryId=  document.getElementById("bigCategory").value;
    if(categoryId==-1)
    {
       alert("请选择行业");
       return false;
    }
    return true;
}
$(function(){
	    $("#userinfo td").not($("#filter_ke td")).addClass("info_td1");
		$("#userinfo tr").find("td:even").not($("#filter_ke td")).addClass("title_info2");
		$("#userinfo tr").find("td:odd").not($("#filter_ke td")).css("padding-left","5px");
});

